package com.shsnc.agent.bean;

import com.shsnc.agent.annotation.FiledInfo;
import lombok.Data;

/**
 *
 * @author zll
 * @date 2021/8/5
 * 4A应用资源审计信息
 */
@Data
public class OperInfo {

	/**
	 * 操作时间
	 */
	@FiledInfo(name = "OPER_TIME")
	private String operTime;

	/**
	 * 会话ID
	 */
	@FiledInfo(name = "SESSION_ID")
	private String sessionId;

	/**
	 * 操作人账号
	 */
	@FiledInfo(name = "OPER_ACCT")
	private String operAcct;

	/**
	 * 4A主账号
	 */
	@FiledInfo(name = "USER_NAME")
	private String UserName;

	/**
	 * 是否绕行
	 */
	@FiledInfo(name = "ROUND_AUDIT")
	private String roundAudit="Y";

	/**
	 * 操作对象帐号
	 */
	@FiledInfo(name = "OPER_OBJ")
	private String operObj;

	/**
	 * 源IP
	 */
	@FiledInfo(name = "SRC_IP")
	private String srcIp;

	/**
	 * 目的IP
	 */
	@FiledInfo(name = "DEST_IP")
	private String destIp;

	/**
	 * 源端口
	 */
	@FiledInfo(name = "SRC_PORT")
	private String srcPort;

	/**
	 * 目的端口
	 */
	@FiledInfo(name = "DEST_PORT")
	private String destPort;

	/**
	 * 操作类型
	 */
	@FiledInfo(name = "OPER_TYPE")
	private String operType;

	/**
	 * 操作子类型
	 */
	@FiledInfo(name = "OPER_SUB_TYPE")
	private String operSubType;

	/**
	 * 操作
	 */
	@FiledInfo(name = "OPER")
	private String oper;

	/**
	 * 操作描述
	 */
	@FiledInfo(name = "OPER_DESC")
	private String operDesc;

	/**
	 * 操作结果
	 * 0---成功
	 * 1 ----失败
	 */
	@FiledInfo(name = "OPER_RESULT")
	private String operResult = "0";

	/**
	 * 工单号
	 */
	@FiledInfo(name = "WORK_ORDER")
	private String workOrder;

	/**
	 * 金额
	 */
	@FiledInfo(name = "AMOUNT")
	private String amount;

	/**
	 * 应用编号
	 */
	@FiledInfo(name = "APP_ID")
	private String appId;

	/**
	 * 应用名称
	 */
	@FiledInfo(name = "APP_NAME")
	private String appName;

	/**
	 * 模块编号
	 */
	@FiledInfo(name = "MOD_ID")
	private String modId;

	/**
	 * 模块名称
	 */
	@FiledInfo(name = "MOD_NAME")
	private String modName;

	/**
	 * 事件所属系统名称
	 */
	@FiledInfo(name = "FROM_SYS")
	private String fromSys;
}
